﻿{% extends 'inquire/base.html' %}

{% block title %}
    修改座右铭区
{% endblock %}

{% block startbody %}
    <div class="container">
        <div class="page-header">
            <h1>{{ room }}</h1>
        </div>
        <p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom
            HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body &gt;
                .container</code>.</p>
        <p>Back to <a href="#">the default sticky footer</a> minus the navbar.</p>
    </div>

    <div class="container">
        <div>
            <form action="{% url 'index:submit' %}" method="post">
                {% csrf_token %}
                <table class="table table-hover" style="font-size: 20px;">
                    <caption>Optional table caption.</caption>
                    <thead>
                    <tr>
                        <th>username</th>
                        <th>motto</th>
                        <th>handel</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>{{ name }}</td>
                        <td><input type="text" value="{{ motto }}" name="motto"></td>
                        <td><input type="submit" value="修改" class="btn btn-info"></td>
                        {#                    <td><a href="{% url 'index:submit'%}" class="btn btn-info">修改</a></td>#}
                    </tr>
                    {#                {% endfor %}#}
                    </tbody>
                </table>
            </form>
        </div>
    </div>
{% endblock %}


    
